
package com.hlkj.pay.vo.order.resp.export;
/*
 * Hlpay-Plus aggregate payment system.
 * Copyright (c) 2024-2025 Hlpay Team Copyright has the right of final interpretation.
 */

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;

import com.baomidou.mybatisplus.annotation.TableField;
import com.hlkj.pay.util.excel.TimestampToDateConverter;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

/**
 * @author HlpayTeam
 * @date 2024/10/09 11:37
 */

@Data
@ExcelIgnoreUnannotated
public class OrderRiskExport {

    @ExcelProperty("商户号")
    @ColumnWidth(20)
    @Schema(description = "商户商户号")
    private String sn;

    @ExcelProperty("商户名称")
    @ColumnWidth(20)
    @Schema(description = "商户名称")
    private String snName;

    @ExcelProperty("风险单号")
    @ColumnWidth(30)
    @Schema(description = "风险单号")
    private String riskId;

    @ExcelProperty("微信商户号")
    @ColumnWidth(15)
    @Schema(description = "商户号")
    private String appId;

    @ExcelProperty("风险商户号")
    @ColumnWidth(20)
    @Schema(description = "风险单关联的子商户号")
    private String subMchid;

    @ExcelProperty("风险公司名称")
    @ColumnWidth(30)
    @Schema(description = "子商户公司名称")
    private String companyName;

    @ExcelProperty("服务商编码")
    @ColumnWidth(15)
    @Schema(description = "默认服务商")
    private String providerCode;

    @ExcelProperty("服务商名称")
    @ColumnWidth(20)
    @TableField(exist = false)
    @Schema(description = "默认服务商")
    private String providerName;

    @Schema(description = "渠道编码")
    private String channelCode;

    @ExcelProperty("渠道名称")
    @ColumnWidth(15)
    @TableField(exist = false)
    @Schema(description = "渠道名称")
    private String channelName;

    @ExcelProperty("风险来源 1:微信 2：支付宝")
    @ColumnWidth(25)
    @Schema(description = "风险来源 1:微信 2：支付宝")
    private Integer type;

    @ExcelProperty("风险类型")
    @ColumnWidth(20)
    @Schema(description = "风险类型")
    private String riskType;

    @ExcelProperty("风险描述")
    @ColumnWidth(50)
    @Schema(description = "风险描述")
    private String riskDescription;

    @ExcelProperty("处罚方案")
    @ColumnWidth(50)
    @Schema(description = "处罚方案")
    private String punishPlan;

    @ExcelProperty("处罚描述")
    @ColumnWidth(50)
    @Schema(description = "处罚方案的详细描述信息")
    private String punishDescription;


    @Schema(description = "处罚时间")
    @ExcelProperty(value = "处罚时间", converter = TimestampToDateConverter.class)
    @ColumnWidth(25)
    private Long punishTime;


}
